package com.youka.bussiness.service.req;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.youka.bussiness.common.base.BaseEntity;


/**
 * 电子券核销记录表 表实体
 *
 * @author lfc
 * @date 2024-06-30 16:47:28
 */
@Data
@ApiModel(value = "修改电子券核销记录表入参" , parent = BaseEntity.class)
public class CouponRedemptionUpdateDto extends BaseEntity {
private static final long serialVersionUID=1L;

    
    /**
     * 核销ID
     */
    @ApiModelProperty(value = "核销ID")
    private Integer redemptionId;
        
    /**
     * 电子券编号
     */
    @ApiModelProperty(value = "电子券编号")
    private String couponNumber;
        
    /**
     * 交易流水号
     */
    @ApiModelProperty(value = "交易流水号")
    private String transactionId;
        
    /**
     * 电子券类型
     */
    @ApiModelProperty(value = "电子券类型")
    private String couponType;
        
    /**
     * 券面金额
     */
    @ApiModelProperty(value = "券面金额")
    private BigDecimal faceValue;
        
    /**
     * 核销时间
     */
    @ApiModelProperty(value = "核销时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime redemptionTime;
        
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdAt;
        
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updatedAt;
    }
